android.ndk.sharedmem_jni

@file sharedmem_jni.h @brief Shared memory buffers that can be shared across process.

Members

Functions

ASharedMemory_dupFromJava
int ASharedMemory_dupFromJava(JNIEnv* env, jobject sharedMemory)

Returns a dup'd FD from the given Java android.os.SharedMemory object. The returned file descriptor has all the same properties & capabilities as the FD returned from ASharedMemory_create(), however the protection flags will be the same as those of the android.os.SharedMemory object.

Meta